package com.shop.service;

import com.shop.entity.Member;

import java.util.List;

public interface MemberService {
    
    List<Member> findAllMembers();

    Member findMemberById(Long id);

    void addMember(Member member);

    void updateMember(Member member);

    void deleteMember(Long id);

    Member findMemberByPhoneNumber(String phoneNumber);

    Member findMemberByCardNumber(String cardNumber);

    void updateMemberConsumption(Long memberId, Double amount);
}
